var mongoose = require('mongoose');
var message = new mongoose.Schema({
	mcontent:String,
	mtime:{
		type:Date,
		default:Date.now,
	},
	_roomId:mongoose.Schema.ObjectId,
	muser:{
		_id:mongoose.Schema.ObjectId,
		_roomId:mongoose.Schema.ObjectId,
		email:String,
		name:String,
	}
});
module.exports = message;